package com.ivt.service;

import java.util.List;
import java.util.Set;

import com.ivt.core.ex.IvtException;
import com.ivt.model.Resource;
import com.ivt.model.User;

public interface ResourceService {

	void regist(Resource resource) throws IvtException;

	Resource create(Resource resource) throws IvtException;

	Resource update(Resource resource) throws IvtException;

	void delete(Resource resource) throws IvtException;

	Resource delete(Long resourceId) throws IvtException;

//	boolean exist(String phone) throws IvtException;

	Resource getResourca(Long resourceId) throws IvtException;

	List<Resource> getResourca(Set<Long> resourceId) throws IvtException;

}
